﻿using MyDapperApi.Models;

namespace MyDapperApi.Repositories.Interfaces;

public interface IUserRepository : IRepository<User>
{
    // 可以添加用户特定的方法
    Task<User?> GetUserByEmailAsync(string email);
    Task<IEnumerable<User>> GetUsersByAgeRangeAsync(int minAge, int maxAge);
}